You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > VectorInt Structure > VectorInt Methods > Copy Method > VectorInt.Copy Method ([In] TMtxVecInt)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
VectorInt.Copy Method ([In] TMtxVecInt)

Copy object values.

Syntax
C#
Visual Basic
public TMtxVecInt Copy([In] TMtxVecInt Src);

Copy each of Vec elements to the calling object. Size and precision properties of the calling object are set implicitly to match Vec object.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TMtxVecInt a,b,c; a = new TMtxVecInt(); b = new TMtxVecInt(); a.SetIt(new int[] {1,2,3,4}); // a = [1,2,3,4] i.e 1+2i ; 3+4i b.Copy(a); // b = [1,2,3,4] } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!